package com.dex4d.model;

import android.arch.persistence.room.Entity;
import android.arch.persistence.room.PrimaryKey;

/**
 * Created by chengyuchun on 2018/10/23.
 *
 */

@Entity(tableName = "asset")
public class AssetModel {
    /**
     * symbol : ETH  名字
     * balance : 0  个数
     */
    @PrimaryKey(autoGenerate = true)
    public int id;

    public String symbol;

    public String balance;

    public String contracAddress;

    public String address;

    public String picUrl;

    public int localPic; //本地图片

    @Override
    public String toString() {
        return "AssetModel{" +
                "id=" + id +
                ", symbol='" + symbol + '\'' +
                ", balance='" + balance + '\'' +
                ", contracAddress='" + contracAddress + '\'' +
                ", address='" + address + '\'' +
                ", picUrl='" + picUrl + '\'' +
                ", localPic=" + localPic +
                '}';
    }
}